package com.pansoft.openplanet.bean;

import java.util.List;

/**
 * Created by cimu on 2018/9/29.
 * 积分卡的bean
 */

public class StackItemBean {

    /**
     * data : [{"isUse":0,"coinNumber":"0.00","createUserIphone":"","contractAddress":"0xeeebb7752e9a52d4436ecb4ecd536101444d4bbd","bgImg":"http://cdn.openserver.cn/images/card/FGT@2x.png","createUserName":"kong","decimalNumber":18,"balance":0,"createTime":"2018-09-27 16:00:00","createUserAddress":"0x167e76bd720ba417b759e0b561f267fbb41fb419","cardCnName":"","cardId":4,"cardImg":"http://cdn.openserver.cn/images/card/FGT_logo@2x.png","cardEnName":"FGT"}]
     * result : success
     */

    private String result;
    private List<DataBean> data;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * isUse : 0
         * coinNumber : 0.00
         * createUserIphone :
         * contractAddress : 0xeeebb7752e9a52d4436ecb4ecd536101444d4bbd
         * bgImg : http://cdn.openserver.cn/images/card/FGT@2x.png
         * createUserName : kong
         * decimalNumber : 18
         * balance : 0
         * createTime : 2018-09-27 16:00:00
         * createUserAddress : 0x167e76bd720ba417b759e0b561f267fbb41fb419
         * cardCnName :
         * cardId : 4
         * cardImg : http://cdn.openserver.cn/images/card/FGT_logo@2x.png
         * cardEnName : FGT
         */

        private int isUse;
        private String coinNumber;
        private String createUserIphone;
        private String contractAddress;
        private String bgImg;
        private String createUserName;
        private int decimalNumber;
        private double balance;
        private String createTime;
        private String createUserAddress;
        private String cardCnName;
        private int cardId;
        private String cardImg;
        private String cardEnName;
        private int allowRecharge = 1;

        public int getAllowRecharge() {
            return allowRecharge;
        }

        public DataBean setAllowRecharge(int allowRecharge) {
            this.allowRecharge = allowRecharge;
            return this;
        }

        public int getIsUse() {
            return isUse;
        }

        public void setIsUse(int isUse) {
            this.isUse = isUse;
        }

        public String getCoinNumber() {
            return coinNumber;
        }

        public void setCoinNumber(String coinNumber) {
            this.coinNumber = coinNumber;
        }

        public String getCreateUserIphone() {
            return createUserIphone;
        }

        public void setCreateUserIphone(String createUserIphone) {
            this.createUserIphone = createUserIphone;
        }

        public String getContractAddress() {
            return contractAddress;
        }

        public void setContractAddress(String contractAddress) {
            this.contractAddress = contractAddress;
        }

        public String getBgImg() {
            return bgImg;
        }

        public void setBgImg(String bgImg) {
            this.bgImg = bgImg;
        }

        public String getCreateUserName() {
            return createUserName;
        }

        public void setCreateUserName(String createUserName) {
            this.createUserName = createUserName;
        }

        public int getDecimalNumber() {
            return decimalNumber;
        }

        public void setDecimalNumber(int decimalNumber) {
            this.decimalNumber = decimalNumber;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateUserAddress() {
            return createUserAddress;
        }

        public void setCreateUserAddress(String createUserAddress) {
            this.createUserAddress = createUserAddress;
        }

        public String getCardCnName() {
            return cardCnName;
        }

        public void setCardCnName(String cardCnName) {
            this.cardCnName = cardCnName;
        }

        public int getCardId() {
            return cardId;
        }

        public void setCardId(int cardId) {
            this.cardId = cardId;
        }

        public String getCardImg() {
            return cardImg;
        }

        public void setCardImg(String cardImg) {
            this.cardImg = cardImg;
        }

        public String getCardEnName() {
            return cardEnName;
        }

        public void setCardEnName(String cardEnName) {
            this.cardEnName = cardEnName;
        }
    }
}
